package com.thlws.study.redismq.internal.queue;

/**
 * @author HanleyTang 2019-08-07
 */
public class Queue {

    private String queueName;
    private String bakQueueName;

    public Queue(String queueName, String bakQueueName) {
        this.queueName = queueName;
        this.bakQueueName = bakQueueName;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    public String getBakQueueName() {
        return bakQueueName;
    }

    public void setBakQueueName(String bakQueueName) {
        this.bakQueueName = bakQueueName;
    }

    @Override
    public String toString() {
        return "Queue{" +
                "queueName='" + queueName + '\'' +
                ", bakQueueName='" + bakQueueName + '\'' +
                '}';
    }
}
